﻿using CaseManagerLibrary.Socket;
using PSDLib.Protocols.Burn;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PSDBurnService.Protocols
{
    public class AddBurnFileProcessor : ClientMessageProcessor
    {
        public override void Run(BurnServiceContext context, TcpClientState state)
        {
            context.AddBurnFile((Message as AddBurnFileMessage).BurnId, (Message as AddBurnFileMessage).File);
        }
    }
}
